/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment1;

/**
 * BigMac Class:
 * This class extends the Product Class, and is used to create instances of the Product "Big Mac"
 * @author Vale
 *
 */
public class BigMac extends Burger {

    private final String SAUCE_NAME = "Honey Mustard Sauce";

    /**
     * void makeBurger() Method:
     * Makes Burger "Big Mac" from required inventory items, and adds them to the inventory List for the burger
     *
     */
    public void makeBurger() {
        Cheese cheese = new Cheese();
        cheese.setInvAmount(2);
        BeefPatty beefPatty = new BeefPatty();
        beefPatty.setInvAmount(2);
        Buns buns = new Buns();
        buns.setInvAmount(3);
        Onions onions = new Onions();
        onions.setInvAmount(1);
        Sauce sauce = new Sauce();
        sauce.setInvAmount(2);
        sauce.setInvName(SAUCE_NAME);
        Lettuce lettuce = new Lettuce();
        lettuce.setInvAmount(2);
        this.getInventList().add(cheese);
        this.getInventList().add(beefPatty);
        this.getInventList().add(buns);
        this.getInventList().add(onions);
        this.getInventList().add(sauce);
        this.getInventList().add(lettuce);
    }
}
